allowing hash to be passed for package actions, instead of only name