completeed survey_merge script, should be able to run on bigdog now, becareful of the chmod set on bigdog rc3