reworked cutil to allow packages to be called