I had assumed this is the templates you were using (by the name of the scrit), so an ealier version of 3dgs may not run some scripts. Ask this in the template forum as they would know better.
If it's not the templates, post your code so we can check.