added output to start of threaded scripts