bash file fixes