Added options to change chunk size, temp file dir, config file