use runtime env when launching for domain