rest api and populate script