Version 3.0 - update to function on current versions of chrome