Modify main frame first run