Script for selecting using drag