fix env var bug in install script