update scripts to common.sh + mpi