Put sls file detection back in