Running the script under wine causes "Path not found." to be echoed rather then the proper value, not sure why yet