case RESOURCES:
production = Boolean.parseBoolean(attributes.getValue("production"));
break;
case SCRIPT:
final ThemeScript script = new ThemeScript();
script.setName(attributes.getValue("name"));
if (production) {
currentTheme.getProductionResources().addScript(script);
} else {
currentTheme.getResources().addScript(script);
}