Commented out code relating to changing privileges