PotentialHF.py working with generall directory refrences