Making invert.py executable