Adding in a fix for the rendering of input relative output
Fixing the input relative outputting in the commands, and implementing recursion for batch