set env vars after service