Made and added origin and destination flags