fixed hmc_to_vio.sh