minor fixes for package_driver.
More minor changes to package driver