Upgraded to the latest versions of all the packages and added better support for the command line.