Make requiring security checks a boolean instead of just checking for debug mode