Updated pastetoggle so that it prints the toggle state.