Merge with multiple mains and proyects