Saving current changes to wipe environment
Stripping down and converting to coffeescript