ad-hoc ruby and shell scripts