Update copymri.py

Shifted some stuff around