Mig's basic plugin groundwork