make cap-all work for non-multistage environments