Right now, metadata is regenerated on each restart of the container. Could we check that the files don't exist and only generate them if they don't?