new support for sending static resources