Added -threaded options