Change physical path to datastore to dynamic one