Added deployment key hook
added documentation