Changed PDF to attachment from inline