fix PATH in wrapper scripts