Further improvements to run_vasp.