cognitive script