Added more complex Boolean relation to script.