this BASH script will KILL you.