Create ScriptThread.java