DatabaseSchemaVersionManager databaseSchemaVersionManager =
new DatabaseSchemaVersionManager(queryExecuter, changeLogTableName);
ChangeScriptRepository changeScriptRepository =
new ChangeScriptRepository(new DirectoryScanner(encoding).getChangeScriptsForDirectory(scriptdirectory));
ChangeScriptApplier doScriptApplier;
if (outputfile != null) {
doScriptApplier = new TemplateBasedApplier(