Added onlyif satements to ensure each resource only runs if needed.