fix paths issues and add default config object