save code updated, alternate glitch method added (hard-coded switch)