public JSR223Tasklet(final String scriptName, final Database database) {
int extIndex = scriptName.lastIndexOf('.');
scriptExt_ = scriptName.substring(extIndex + 1);
DatabaseDesign design = database.getDesign();
FileResource script = design.getAnyFileResource(scriptName);
script_ = new String(script.getFileData());
databasePath_ = database.getApiPath();
}