added a script for parallel processing