cleaned up db_populate script