Prettify menu code