changed some file linking