Added configuration options

maxsize and formats