Fixed All to Work with 2.7

All scripts now work on python 3.4 and python 2.7