better bash scripting...