removed cp logig, changed to tar -C