change menu_publish to read config file