Changed view to use scope for host and hosts