remove temp shell script for one-off alarms

added code to remove the temporary shell script when canceling
one-off alarms