Automatically save modified plugin before executing it