Fixed configuration loading, to load file corresponding to environment