fixing some paths and correcting the extracting command