add tern command to disable port file