moved autostart to registery