Hi @deanishe,
Yeah, the script box isn't very useful for larger concepts. I actually developed the code with Atom and ran my script from terminal directly to get proper errors while making it. I wasn't sure yet how the workflow folder worked and wanted to get a grasp on the data moving through workflow items before jumping into better script maintenance. However, I will definitely update my workflow and post now that you've helped me understand the piece I was missing.
I definitely plan to write more tutorials using the Ruby template! Now that I've got a much better grasp of workflows, I feel more apt to take it on and understand the reasons why pieces of code are in certain places. This particular workflow I wrote about definitely has some improvements that can be made using that Ruby template.