some changes in xuserrun