look for config in current dir, then in system etc, then in current repository