implement onloadCheckOff script