Fixed a couple bugs with the parse summary and run functions