Added resourcepacks support