Fixing logic with site.live and how BASE_PATH is constructed