When you create the Module it will only sync objects that are in that modules init.
so for example I was using high command modules in my script:
"HighCommand" createUnit [[0,0,0], _USMCHCGroup ,"USMC_ASL_HC = this;this SetVariable ['addAllGroups',false];this setVariable ['ChainOfCommand', false];this synchronizeObjectsAdd [unitUSMC_1Plt_ASL];"];
So essentially your script needs to be:
That 'should' fix your problem.