implemented saving configuration info