made automation script display previous component name if resetting