PMPI: Added temp refresh and altered buildscript