autostart and session scripts