Setup based on environment variable