Implement globalStorageSetDir method