initial commit: spc.pl script