standalone: allow lightrec for testing