Fixed bracket in the extract script