How to root Samsung Galaxy S4 GT-I9500 with build XXUBMH1?
I found this application quite useful https://towelroot.com/ download and run on your device and it roots your device for you. Its been recommended by XDA.I ran it on my s4 I9505 and worked perfectly.