hf xml import main functionality complete