connecting scripts