Well, you could so this: In the script create a file in /tmp. Then check right after script start whether file is present or not. If it's present, do nothing else create the file and execute the rest of the script.
Deep standby deletes the file automatically.
Thanks you both for the excellent help. betacentauri, your workaround worked perfectly .