Convert to environment variables