Working on python compile script