Restores batchq/bin/q

Partly reverts commit c133308ab3e94737b9c3ea85ca0d5028ecfd87fe.