Setup of resources