deploy resource stuff