Add tab completion procedures to command scripts