added bypass command
modified contains query command to search from array.