added pac_Initialized hook