added python script to write out haproxy