update Assembly mechanism
improve build script