Added redirect in production environment.