Added partial ScriptBlock support
Added partial ScriptBlock support