Resets the environment after compilation