Update download_mag.py