Send correct slider information to the server. Also fixing up output file format