Added some setup stuff for spark