add parens to !(ENV['TA_ENVIRONMENT'] == "staging")