Added support for cmd_after
The mysql script, now does cleanup job after it finishes the backup