make autostart file more portable
make sure 'capturing' is initialized to false