Dropped the download button while it doesn't work
Added vars for number of maxWidths to create etc.