Initial pass for new safe parser. Global_summary_dir needs work.