is there any script to automatically mount a usb drive upon insertion, or are there any other ways?

thank you...