Xperms v2.0 support

update support for Xperms