Add active flag to example