Switch env conditional from dev to produciton