updated config to allow proper base dir