Merge

-dBATCH: exit after last file, otherwise GhostScript will keep running.
-dNOPUASE: no pause after each page, otherwise GhostScript will pause for user interaction after each page.
-q: quiet, fewer messages.