Assets loading json and text functions modified