[SR-Dev] git:andrei/script_vars: script parsing: helper function updated & moved