fix autobuild script