added new bash script, updated gen_data script