added configuration persistence