add dependencies between the resources to ensure ordering