shell-script mode auto-launch