Added validation for google docs