Re-write `mmm-bat`.
Fix bugs and Add `appendPushScrip` function.