adds reliable lookup for scripts directory. Needed for SGE