compiled metadata should also take priority over raw metadata. Check for compiled before falling back to raw metadata