use pdfsam-enhanced instead of pdfsam