Improved parser and cerr behavior