reverted bash file to run on linux