Update of Maine SGP scripts