adding links and correcting file paths