updated makePlan to ignore blank lines (again)