Copying and Pasting menu item functions now work properly