Updated command to use the models to fetch data.