updated makePlan to ignore blank lines (or not)