change images to 777 so we won't get a permission denied error.