Updated population_script to set the settings module at the beginning.