Added menumize functionality