Adjusted some changes to xRAT