Substorms, tail flows and plasmoids