if there is no urls, just return
Moved webserver start line to avoid duplciate code