check if word is installed before proceeding