added depends and dependsNot conditions