performance fix, add ability to run intranet with waitress