Configuration management using Expect (TCL/TK)