Transform to master pages