Adding functionality to specify directories for volumes