Added support for user-specified pre- and post-config files