Adding base URL detection and base path detection.