use default_env and fix config/environments