added tar by type script