a little bash script to help you out