updated makePlan to ignore blank lines (3rd times the charm)