autorun.js: always restart on close