Added check that we can execute the modules. Fixes #3.