Bug fix: retrieving the properties file the correct way