Refactor to use BASE_PATH variable when referencing resources.