added optional chapter arguments to export_scan method