Changed config loading to work from any subdirectory