uncommenting late execute checkenvironment call for testing