Syntax error in methanol.py script