Add main and ignore