updated parallel script