added NTRights abilities, fixed JAVA issue