Converted file to a bash script