Updated form to accept all params for detection