Better toggle between production and dev modes