Finished dosurvey and populate

Updated the example file too