Fix mogrify command