Fix install script for first run