respond to version flag