added hooks to run on start of work/pause