So is your "re-created" project in C-Script (*.WDL files), or Lite-C (*.C & *.H files)?
If its all WDL files (like A6) then it is C-Script, and you are in the wrong forum.
I suspect this to be the case, and no harm done, we'll still try to help.
And NO, Im not complaining, just clarifying.
People will keep giving you Lite-C answers, because they THINK you are using lite-c,
because you are in the Lite-C forum, and that will just confuse things more.
So what are you? C-Script (still living and breathing in A7), or the new and wonderous Lite-C?
Dont be afraid to answer, I think MOST of the true experts around here still prefer C-Script.
But we do need to know cause there are many little differences in syntax between c-script and lite-c,
so we need to know where you stand to know which syntax's will work for you.