modify sql script and add engine and charset