Pass the correct values to tarfile