saves gh file on exit - try 2