Changes the layouts and externalized pages