Added debug flag bash