Make it so the enable proc is passed the enviroment