wip on script parsing