Make stack environment use ENV vars instead of constructor arguments