added HMC check to hmc_to_vio.sh