Adding silly code for outputting slider values to text file.