Texture script, unfinished