only restore copy of original environment after module file was created