correct autostart script