Updated to version 4 of HPCAP