automatically parse the script path and create the absolute path of word.data. No more need to pass the path manually