After learning call the given script using 'goal'.

            :param goal: goal name
            :param script: prolog script to call

def setPostScript(self, goal, script):
        """
        After learning call the given script using 'goal'.

            :param goal: goal name
            :param script: prolog script to call

        """
        self.postGoal = goal
        self.postScript = script