I am trying to incorporate a simple spatial join in a model but the spatial join options in ModelBuilder are different from the right click-->join options. How can I do the join as in the image below in the data management-->

![enter image description here][1]

Above process works fine but I have to do it manually. 

The process below fails/doesn't give the result I want and I need to incorporate this in the model as otherwise I have to do this manually and then complete the process in a second model.

![enter image description here][2]


  [1]: https://i.sstatic.net/MALyT.png
  [2]: https://i.sstatic.net/wL4WB.jpg