Added logging to hook
Added keep_snaps config option
Make the hook non-blocking
Use the console_script entry point from setup.py