added a check to see if modules are available on user's system