Modifying sph yaxis script