add the ignore file and modify the router