improve the autosyncbuild script