Added download mode option