Adjusted 'extract' command