Use new datadirs function to get directories