improve tutorial script