fix stdin typo
fix pretty crucial problem with hook installer
add 2 second timeout to api requests