small changes in integration script