Add build script for HK conversions and unit test