update autostart script