Add publishdir to config.