Dynamic environmental config paths.

Replaced them with a method to dynamically lookup the directory name
for the given environment.