Added compile script in python