Make needs () around variable names, or it'll interpret $out as $o followed by `ut`
Build-tested on x86_64 Linux & Mac.