Shutting off the continuous servo signal

Hi all.
I am having some trouble with my servo's making irritating noise when stationary. I would like to make the board only send the pwm signal in order to get the servo from a to b and stop transmitting when it gets there.
I wanted to take a look in the servo.h file myself before posting to see if i could figure out a way bit i can't seem to locate it or in fact any other of the default libraries. Sre they available to edit?
Any help much appreciated.

I got it by using the detach(); command in the end. incredible what a difference it makes. before my project looked rattly and cheap and now it looks smooth and silent. admittedly this now means that if the servo is moved accidentally it is no longer accounted for but for my purpose it is perfect.
ta ta for now.