Genetic tweak fools flies into mistaking light for unpleasant odours.