Added key ID to hook