sqf is still considered to be a function by the game instead of regular script (or something like that), so you need to use either:
foo=[group this, array] execVM "myscript.sqf"
or
call {[group this, array] execVM "myscript.sqf"}
Personally I prefer the latter..