updated doc and rearranged config file search order to match documentation