A porting of 'cloudsigma.sh' to the new API.