changing the way we get config file to expand paths first