DIRECT for IP
Make gen.py excutable