Fixes for HITL; added search pattern generator to SITL script