move mapping of resources to top in project templates