Changed location of EXPOSE to better reuse intermediate images.