Adding env vars to path and resource command