added in text option for resources loader.