[jmdb] Tweaking the script