Fixed a script error adding new global directions