enable running script on contiguous subset of rows