Added MagPie2 functionality to MagPie3