Added error hanling for missing module
Added error for missing module