made a function to autogenerate menu on every site