Calls the right layouts