Fixed bug in build script causing rejoinder variable not to be defined. The issue was obscured by loads of console prints.