Fixed bug with settings getting overriden with each new shell instantiation.
5.0.3