script to populate db with no downtime