refactor populate script for step-1