Reorder the scanning of the metadata
Add a warning to the documentation that the script is far from being safe.