Crypto crypto = database.logger.getCrypto();
if (crypto == null) {
boolean compressed = database.logger.propScriptFormat == 3;
scr = new ScriptReaderText(database, scriptFileName,
compressed);
} else {
scr = new ScriptReaderDecode(database, scriptFileName, crypto,
false);
}