modifying population script