Added fix for opening dict file when run from any location