integrating scripts