Add bash history settings.
Reoorder load of functions.