add bash file to generate log