Add shell option
Add post-update hook