Added in Ians selection boxes for types. Added in some relations for route. Also added checks to stop fails if values are null