The problem about running MaterialsScript on a server

Dear all,

I am a Materials Studio user from KAUST.  I encountered the following problem when I run a Perl script on a server:

Failed to initialize: Unable to initialize components - 'ScriptingAPI.ApplicationGlobals' - Class factory not registered

This Perl script works fine on the client. Besides, the server can run Dmol3 and CASTEP jobs normally. 

How can I fix this problem? Does anyone have any idea? Thanks!

Best, Pan