updated mgi download script #267