Added code to create video