While you're at this, can you set debug='true' here so that it's easier to debug on dev machine. Then use script to change to 'false'.