Python3.4 script

Script tested in python3.4