added -help and -version options
added -help and -version options