Now checking input dirs exist