Local copy of C2HS for testing