Added Ticket grabbing code
Fixed conflicts