Some changes with the isrs.c and main.c