long start = 0;
if (SettingsBean.getInstance().isDevelopmentMode() && Boolean.valueOf(renderContext.getRequest().getParameter("moduleinfo")) && !resource.getNode().isNodeType("jnt:pageTemplate")) {
output.append("\n<fieldset> ");
start = System.currentTimeMillis();
}
output.append(script.execute(resource, renderContext));
if (logger.isDebugEnabled()) {
if(renderContext.getRequest().getAttribute("previousTemplate")!=null) {
logger.debug("Current previousTemplate object for rendering after script: "+((Template) renderContext.getRequest().getAttribute("previousTemplate")).serialize());
} else {