Cleanup strategies and removing redundancy for setting the output box.