Fix filenames and ports.