run as shell mode