Useful scripts used for PHASTA and phParAdapt