new bash file and some minor changes