Changed the way in whuich the process owner is obtained