Modifying main file