A little bit of config and logging stuff