Reverting quitbutton script to it's full version now that things are sorted out