add a connection scritpt