Splitting max connections up to debug easier
Fixed env parameter exception
Fixed error with data formats, int -> string