fixing images file permissions and removing unused image backup