Updated resources - use local static if debug is true