Added the possibilty to have a custom BASE_URI