added client as an option to all functions related to work_on_packages