More bash goodness for Smiley