Change how we generate metadata so it runs without crashing