test print def writeSettings