A prompt override program needs to be passed certain information to return current values when a command is prompted.
You must consider both the passed information and the returned values when you write a prompt override program.