Refactor to (a) support multiple deploy envs, and (b) work with same set of tasks for all envs, including local