Removed default window and made window, host, and hosts come from the scope