Initialize selected resource with static constructor