More artisanal shell script.