updating dependencies. added version command line flag