wpsresource.ts changes almost done