Modified for HAVOK hk2012_1_0_r1