added checkenvironment logic at the end of execute but leaving it commented for testing.  also added a decrement call for the overall executelevel