I deleted code for setting permanent textures. I'll go to bed and stop ruining things now