Little cleanup on restore script