Moved exclusive validation function into script file.