from web.web import app

if __name__ == '__main__':
    app.run(threaded=True)
@@ -1,8 +1,27 @@
+#!/usr/bin/python3%0A
 from web
@@ -35,16 +35,32 @@
 port app
+%0Aimport optparse
 %0A%0Aif __n
@@ -88,16 +88,663 @@
     
-app.run(
+default_ip=%22127.0.0.1%22%0A    default_port=%225000%22%0A    parser = optparse.OptionParser()%0A    parser.add_option(%22-i%22, %22--ip%22,%0A                      help=%22IP address (use 0.0.0.0 for all) %5Bdefault %25s%5D%22 %25 default_ip, default=default_ip)%0A    parser.add_option(%22-p%22, %22--port%22,%0A                      help=%22Port to listen to %5Bdefault %25s%5D%22 %25 default_port, default=default_port)%0A    parser.add_option(%22-d%22, %22--debug%22,%0A                      action=%22store_true%22, dest=%22debug%22,%0A                      help=%22Enable debug mode%22)%0A%0A    options, _ = parser.parse_args()%0A%0A    app.run(%0A        debug=options.debug,%0A        host=options.ip,%0A        port=int(options.port),%0A        
 thre
@@ -752,9 +752,15 @@
 ded=True
-)
+%0A    )%0A

Update start_website.py