dir is required argument, added version info.