well you have to program it in a macro button, then when you click the button it should run as supposed to, and it should end when the script has finished and play again when you press the button,