fix script filename
write tuple to multiple tuplespaces