Further fixes
Bug fix compiling WITH_MPI
Scripts added