improve script on detecting product installation