Added setter for external directory