Added autostart; updated settings to use registry