added support for previewing *.pps