Added IF statement for CE in production.