Dynamic sub menu generation