updated populate script