Tried to limit the number of API calls in the db init script