Setting check pairs in script when using exec