save a working version before leaving