Added pdf support