modify main file