hook_menu and load function improvements