added regenerate menue option