Added dependency and browser refresh