initial build script with wrapper