add dependencies and control files