Fixed order of loading switches. Fixed C_test.ham example file