Adding checks to create directory if it does not exist.
Advertised function of entering nothing to refresh all was not implemented. Fixing this.