Made directories os independent