Replaced all relevant paths with BASE_URI configuration setting for portability.