Added more functionality to the cloud program