subset script