Added force application resource download, and pdf handler.