add an autostart option for the gui application