add prod vs. dev mode