Fix metadata, prep for injection