subset script added