Replaced string comparison operator '==' with '=' to work with dash