modify ignore file
add main function