changed code to retrieve ppt source code