was not correctly caching extension
wrong variable test
Added base path getter