Worked on the validateScripture function