set webcore base directory