clean up environments and create new ones for dev-agent and handel