Completed v.out.hecras script