reset environment object after an auto compilation run
asset templating now takes advantage of env.modified