implemented a script to list deployments.