added python scripts to repo, some fixes to hti