Refactoring wakeup to use textPlugin