Added code to parse plotmetadata information