Added echo commands to print out variables to debug code