Detecting missing module
Creating debug flag