Change variable name for platform_pattern_name to pattern_name