Python Script Generated using tornado