Update readme with dynamic `before` hook example