moved maxBytes to config.js