Changing /img directory duplicate