Modify package trigger handling