What about 31337 scrolls? It should have preference over 64735 scroll if you have at least one OR Orc Chasm quest is completed.
UPD: Sorry, I see the code. Great script, thanks!
UPD2: But it doesn't check if Orc Chasm quest completed. Is it possible at all?