added download and preview events