added option to print version number