added set.seed and cleaned directories