refactored SITE_ROOT to BASE_URL as it should be