added loop bash file