Added batch amount to environment