Updated to MWA Code