images added to metadata.json and folders deleted