adding basePath to settings, fixes #23