Format,grep issues fixed; Shell change: sh to bash