Allow the BASE_PATH to be configured externally