added uri_base, to run from non-root directory