replaced execSync with spawn for installing hook/command
have logs show on successful exits