Update code to make our project work in landscaper mode