It sounds like you might have copied a sequence into a script using the "Copy Sequence to Script" button in the Maestro Control Center. If this is the case and you want the script to only run once when you power up the Maestro, you should be able to go to the "Script" tab in the Maestro Control Center and add the
quit command before
repeat in your script.
If this does not work or you have additional problems or questions, you can post your modified script here, and I would be glad to take a look.