updated bash script for my ubuntu box