add option to set environment variables