added config option for autostart (breaks things at the moment)