Updated how variables are defined, to fit my current style better.
Updated `generateOutputName` function and exposed it to node programs.