using IS_PRODUCTION even though it doesnt exist yet #222