updated SGScript, adjusted code to new version, added test image