allow remote to be specified
add test for hook installation