more progress on auto-startup scripts