create mongodb script instead of sql script