linking everything with correct path