update bash files to work across multiple systems