Fixed Issues With Textures, made Directory more Robust