added save to configuration