Add script for selecting connections