actually toggle
scripted update of code from master at 26cd65c actually toggle