revise tasks to be run in environments