Separate mbdb parse to script