updating install script for first-time install case