added configuration parsing