changed log so it wont need model
implemented sanitizer settings