BASE_PATH modified to avoid domain issue