Write out environment variables to pass into