#691 - Only allow CSR mode in production