Fix custom hook output

1. Show stdout and stderr. Hooks might need to output info to user even if successful.