Some good bash scripting doesn't hurt