Added some comments.
Set up to global and environment specific settings.