various init and config tweaks