Refactors segment_id parameter to not require array
Adds example of #schedule_message