USB hub problems. Can I "unplug" with Applescript

I am having problems with my usb hub. It’s a powered Dlink hub and when I start up my computer, sometimes I have to un plug and replug the hub from my macbook pro.

Any help would be great.

One idea I had was to use applescript to refresh all of the usb connections so that I don’t have to physically do it.

Any ideas?

Model: Mac Book Pro
AppleScript: latest
Browser: Firefox
Operating System: Mac OS X (10.5)