small changes to scripting section