Added pre-up hook and modified a couple of config files slightly.