change location from bash to python, roll in ability to make location files