Modified for css and images to take effect