modify the main.kar for run