added ability to disable path prefixing using the prefixBasePath option