codeMap = new HashMap<String, Script>();
for (Script script : Script.values())
{
codeMap.put(script.code, script);
}
descriptionMap = new HashMap<String, Script>();
for (Script script : Script.values())
{
descriptionMap.put(script.description, script);
}
return codeMap.get(code);