Add a for-loop and an array to start/restart section of script