starting appointment download code