threads and more applescripts :3