Added static_httpd function