Add settings parameter to the extract scripts