dynamically generate menu urls