expanded && into individual lines;

because of unwanted behaviour in the context of -e mode of sh: a failure in a non-final command in && does not lead to the entire command failing in that context;