Switch environments to --env= params & fix some bugs
--env flag for: Appendpoint, deploy targets embed, alerts, stage, connections