Added master image functionality.