generate menu from tools table