Setting base path.