Make <F6> function nicer.