Make scapeops thread count a parameter