Removing function call from lib hook and adding message if module enabled without library in proper place