start of stingray monitor plugin