quick superqsub.sh fix
(Accidentally committed all changes earlier, including temporary hacks and WIP. Fixing a few things now to avoid problems.)