Make the install procedure fail safe