Renaming masks to uppercase