added raise privileges call for the process