Changes made to mad plugin: