Refactored local_dirs attribute from array to string.