Commnad line option '-noModalboxes' doesn't work in build script

I encounterd a problem using build script that we can get from Technet(…/Build-and-deploy-for-b166c6e4)..)

In build script , after AOS reboots , database sync starts with the command noModalboxes.

This command is the command that not to pop up infologs window at the end of db sync,but it opens when I execute the build script. And this cause another problem. After popup infolog,subsequent processings are not performed.

How should I solve these problems.