adding resetenvironment function to set the sticky environment back to defaults at the end of initial execute call (executelevel of 0)