Add callback for configuring environment before we start using the immutable environment.
Minor logging changes.
0.1.8