fixed the path resolution to be relative to cwd. also allowing config file in home dir