Abstract: Methods and apparatus are provided for programming a remotely controlled downhole tool after the tool is located at a downhole location within a well. Thus the tool is programmed to recognize a distorted form of a command signal after that command signal has traveled down through the well.