[SR-Dev] git:master: core script parsing: various small fixes