implemented script tutorial