Threading test

Working threading script.