tutorial scripts fix