fixes, env variables, heroku fixes, cs locale