Add a script to detect palindrome