re-think how the environment option in the config file is choosen by default, update the readme to explain