new script for assigning control data to subste of total data