What errors are you getting? You must be very close if you can get the nsd.tcl file working and set up db pools, etc.