2013 Update of SGP scripts