Make more dynamic for multiple hosts