- added a new function called LSCRIPT_MEM_TMP that takes a parameter allowing for the specification of tmp space
- modified the sorted recipe to use this function