Modified script for ParallelTest