set autorestart to false for script, and set 10 sec delay for plex