Add settings validation
Merge remote-tracking branch 'origin/master'