Fix preparation scripts for both intra-parallel and BLU.
Merge pull request #3 from snaga/fix-prep

Fix preparation scripts for both intra-parallel and BLU.