Fixing the MZ base profile and removing dependency on the mininal profile