edited the $action flow a little so it should always be set to a
known good default.