Restoring basic program functionality