Added first kind of check
Removed LOGS variable