Added checking whether we're using SorcerSoft SORCER or IGrid