removed cp logic, changed to tar -C