changed resources to static