Modify main layout