Make ScriptEntry objects more efficient

All the input is almost always lowercase... toLowerCase() on a lowercase
string is better than toUpperCase on the same