download mode and simple shell