Adjusting scripts to comply to python 3.