Create cleanmetadata.php