Adapt various scripts to dual tsreports and tsreports-dev usage.
Fix variable
Add major patrollers query
add deployment script