Issue 8221 by sgl: Adding new scriptcode
Issue 8221 by sgl: Adding new file