Switched to using Ternary operators
Moved pretty_output to config hash