Added exception handling for importing the VSM modules.