Updated the cloud_trace advanced program (WIP)