added loop, repeat and retry bash scripts