Use decorateLauncher to set environment