script to add data_struct for pass4