add name and volumes directive