Initial setup for _lampchange()