Fixed correct setting value for newScript template