Feature: run after waking up

Replaces #7. 
@mariuszs, could you please check whether this works for you?