add run server and custom file  for mac