some changes deleting image directory and deleting settings