moved base path to config