I changed the command at line 36 to mach the #defile in the header. I think you need to add a space somewhere in there like "CheckLR" should be "Check LR"
I think you need to add a space somewhere in there like "CheckLR" should be "Check LR"