API Hook not working with Ports?