add http:// for resources