Changing onConfig to handle dev vs prod mode