Updated documentation and bug fix for IP