Script to create instances of lectures