after reading about the download - i see that it is basically the same process
made minor changes to get the file structure - littered code with alerts because ripple is not working so well
have to debug directly