added new package hooks