ERT-734 - Changed FunctionErtScript script