changes to get a proper tar file