added global mouse option