fixed bad solution file reference in ProjectTemplate; tweaked code in sample script