start of build script for ad3