standalone: allow lighrec for testing