Hacking some bash...