Extend hook register for another repos
Added defaul port and host configuration