simplify and track bash