fixes/closes #9 - use compiler pass for driver registration