fix install script if does not complete in 1 second