added version option to parser