rewrite the method how PATH set in downloadAndInstall.sh