wppresource.ts final modification