Bugfix: conditionals are wrong
Don't print protocol when no output is specified