Updated lecture with example script