Added line to and closepath commands parsing