add require to prod mode