adds main to the ignore file