Chnage of code to allow the privacy level to be set in opal.