Using the maestro API to work with tasks