Fixed a few bugs with the publish/draft and cleaned configs.