Added support for texturepacks