setup prod environment handling