updates menu() with correct ways of calling script