Added template hooks for local repo
Added template hooks for remote repo