More fixes for run_vasp.