Modified integration script to prevent failures