Added max upload size as a configurable option