Check metadata.json weight matches postScriptName