Fixed small bug when first run with no directories in place