pass environment to plays