Metaimage rewrite