setEnvironment is moved to AssetConfig