pairing script