Fixed bug. Checks for (and creates) .config directory if does not exist