Changes layout files for index and phone.