Adjusted bspm.sh script