wrote the tools to read and write to config.txt