What script variant was used to write the Sanskrit language?