Using try/except for sshm import in main.py.