changing from ase to hf