Add checks for LMS Enabled or not, and act upon it