Added configuration lookup in different directories, fixed #58