if ( version of client >= "8.2.1310" ) then ( exists folder "/Library/Application Support/BigFix/BES Agent/" ) else ( ( exists folder "/Library/BESAgent/BESAgent.app/" ) OR ( exists folder "/Library/StartupItems/BESAgent/BESAgent.app/" ) )
if (version of client >= "8.2.1310") then (exists folder "/Library/Application Support/BigFix/BES Agent/") else ((exists folder "/Library/BESAgent/BESAgent.app/") OR (exists folder "/Library/StartupItems/BESAgent/BESAgent.app/"))