Updated for latest version of ripple