added export functionality to screen