You can't modify anywhere in the maintenance plan but you can add another step to the jobs which created by maintenance plan and add your script to it.
-----------------------------------------------------------
I am here to learn from all SQL Server masters. 😀